/*
 * @Author: xiaosihan 
 * @Date: 2023-12-14 16:04:21 
 * @Last Modified by: xiaosihan
 * @Last Modified time: 2024-10-31 00:52:00
 */


import { ReactNode } from "react";
import styles from "./institutionalRiskIndex.module.less";

interface Iprops {
    children?: ReactNode
}

// 机构风险指数
export default function InstitutionalRiskIndex(props: Iprops) {

    const list = [
        {
            key: "1",
            model_name: "虚假服务识别模型-护理人员",
            logical_class: "失能人员因病逝、住院或入住定点机构，护理人员仍提供上门服务",
            risk_levels: "3",
        },
        {
            key: "2",
            model_name: "虚假服务识别模型-护理人员",
            logical_class: "失能人员身处异地，护理人员仍显示提供了上门护理",
            risk_levels: "3",
        },
        // {
        //     key: "3",
        //     model_name: "虚假服务识别模型-护理人员",
        //     logical_class: "（待建知识库，需梳理服务项目和疾病诊断的关联性）",
        //     risk_levels: "2",
        // },
        // {
        //     key: "4",
        //     model_name: "虚假服务识别模型-护理人员",
        //     logical_class: "机构中的护理人员/培训师因住院未提供服务，但仍存在服务记录",
        //     risk_levels: "3",
        // },
        // {
        //     key: "5",
        //     model_name: "虚假服务识别模型-护理人员",
        //     logical_class: "通过APP申请成功的参保人最终选择的护理机构之间的匹配程度",
        //     risk_levels: "1",
        // },
        // {
        //     key: "6",
        //     model_name: "虚假服务识别模型-护理人员",
        //     logical_class: "经窗口申请成功的参保人最终选择的护理机构之间的匹配程度",
        //     risk_levels: "1",
        // },
        {
            key: "7",
            model_name: "虚假服务识别模型-护理人员",
            logical_class: "护士项目由护理员操作",
            risk_levels: "1",
        },
        {
            key: "8",
            model_name: "虚假服务识别模型-护理人员",
            logical_class: "护理人员/培训师住院，但仍存在服务记录",
            risk_levels: "1",
        },
        {
            key: "9",
            model_name: "虚假服务识别模型-护理人员",
            logical_class: "护理人员为失能人员提供上门服务护理服务人次过高",
            risk_levels: "1",
        },
        {
            key: "10",
            model_name: "虚假服务识别模型-护理人员",
            logical_class: "护理人员打卡异常",
            risk_levels: "1",
        },
        {
            key: "11",
            model_name: "虚假服务识别模型-护理人员",
            logical_class: "服务项目不在服务计划内",
            risk_levels: "1",
        },
        {
            key: "12",
            model_name: "虚假服务识别模型-护理人员",
            logical_class: "护理项目与评估推荐项目匹配度",
            risk_levels: "2",
        },
        {
            key: "13",
            model_name: "虚假服务识别模型-护理人员",
            logical_class: "护理人员提供上门服务护理服务人次过高",
            risk_levels: "2",
        },
        {
            key: "14",
            model_name: "虚假服务识别模型-护理人员",
            logical_class: "护理人员提供上门服务项目频次异常",
            risk_levels: "1",
        },
    ]

    return (
        <div className={styles.institutionalRiskIndex}>
            <div className={styles.head}>
                <span className={styles.name} >模型名称</span>
                <span className={styles.value1} >逻辑分类</span>
                <span className={styles.value2} >风险等级划分</span>
            </div>
            <div className={styles.autoScroll}            >
                {
                    (list || []).map((d: any, i: number) => {
                        return (
                            <div key={i} className={styles.listItem} >
                                <span className={styles.name} >{d.model_name}</span>
                                <span className={styles.value1} >{d.logical_class}</span>
                                <span className={styles.value2} >{d.risk_levels}</span>
                            </div>
                        );
                    })
                }
            </div>
        </div>
    );

}